<template>
  <div class="box">
    <el-breadcrumb separator=">">
      <el-breadcrumb-item to="/login" replace>首页</el-breadcrumb-item>
      <el-breadcrumb-item>平台表单</el-breadcrumb-item>
      <el-breadcrumb-item to="/login/plat/balanceDetails" replace>余额明细查询</el-breadcrumb-item>
      <el-breadcrumb-item>余额明细历史查询</el-breadcrumb-item>
    </el-breadcrumb>
    <div class="tableBox">
      <div class="tableTitle">余额明细历史查询</div>
      <div class="searchBox">
        <el-form :model="searchObject" size="mini" inline>
          <div class="block">
            <el-form-item label="名字">
              <el-input></el-input>
            </el-form-item>
            <el-form-item label="手机号">
              <el-input></el-input>
            </el-form-item>
            <el-form-item label="用户身份证号">
              <el-input></el-input>
            </el-form-item>
            <el-form-item>
              <export-excel :tHeader="tHeader" :filterVal="filterVal" :tableData="tablaData"></export-excel>
            </el-form-item>
          </div>
          <div class="block">
            <el-form-item class="el-form-item-inline" label="资产参数（账户余额+商户余额+理财余额+定期投资）">
              <el-input></el-input>
              -
              <el-input></el-input>
            </el-form-item>
            <el-form-item class="el-form-item-inline" label=" 负债参数（已分期）">
              <el-input></el-input>
              -
              <el-input></el-input>
            </el-form-item>
            <el-form-item>
              <el-button type="primary" icon="el-icon-search" circle @click="search"></el-button>
            </el-form-item>
          </div>
        </el-form>
      </div>
      <el-table :data="tablaData" show-summary>
        <el-table-column prop="" label="用户编号" align="center"></el-table-column>
        <el-table-column prop="" label="用户姓名" align="center"></el-table-column>
        <el-table-column prop="" label="手机号" align="center"></el-table-column>
        <el-table-column prop="" label="身份证号" align="center"></el-table-column>
        <el-table-column prop="" label="账户余额" sortable align="center"></el-table-column>
        <el-table-column prop="" label="商户余额" sortable align="center"></el-table-column>
        <el-table-column prop="" label="理财余额" sortable align="center"></el-table-column>
        <el-table-column prop="" label="定期投资" sortable align="center"></el-table-column>
        <el-table-column prop="" label="信用额度" sortable align="center"></el-table-column>
        <el-table-column prop="" label="已分期信用" sortable align="center"></el-table-column>
        <el-table-column prop="" label="未到期分期金额" sortable align="center" width="160px"></el-table-column>
        <el-table-column prop="" label="逾期金额" sortable align="center"></el-table-column>
      </el-table>
      <pagination :maxTotal="maxTotal" @handleSize="handleSizeChange" @handleCurrent="handleCurrentChange"></pagination>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
  import exportExcel from 'components/exportExcel'
  import pagination from 'components/pagination'

  export default {
    data () {
      return {
        maxTotal: 10,
        searchObject: {},
        tablaData: [],
        tHeader: [],
        filterVal: []
      }
    },
    created () {
    },
    methods: {
      search () {
      },
      handleSizeChange (val) {
      },
      handleCurrentChange (val) {
      }
    },
    components: {
      exportExcel,
      pagination
    }
  }
</script>

<style lang="less" ref="stylesheet/less" scoped>
  .el-form-item-inline {
    .el-input {
      width: 48%;
    }
  }
</style>
